<template>
  <el-dialog
    :title="params.title"
    :visible.sync="params.open"
    v-if="params.open"
    width="50%"
    append-to-body
    v-dialogDrag
    :close-on-click-modal="false"
  >
    <dialog-potal :params="params.portal" :root="root" />
  </el-dialog>
</template>

<script>
import dialogPotal from "@/views/portal/index";

export default {
  name: "portalDialog",
  components: {
    dialogPotal,
  },
  props: {
    params: {
      type: Object,
      default: () => {},
    },
    root: null,
  },
  created() {},
};
</script>